import instance from '@/utils/request';

export function GetShowPatrolPerson(data) {
    return instance.request({
        url: "api/PatrolPerson/GetPatrolPerson",
        method: "post",
        data
    })
}

export function GetTotaocount() {
    return instance.request({
        url: "/api/PatrolPerson/GetCount",
        method: "get",
    })
}

export function addPatrolPerson(data) {
    return instance.request({
        url: "api/PatrolPerson/PostAddPatrolPerson",
        method: "post",
        data
    })
}

export function deletePatrolPerson(data) {
    return instance.request({
        url: "api/PatrolPerson/DeletePatrolPerson",
        method: "delete",
        data
    })
}